home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1989 May
/
64er_Magazin_89-05_1989_Markt__Technik_de.d64
/
illegal t&s
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
658b
|
28 lines
100 t=1:d$="[211]uchprogramm '[201]llegal [212]+[211]'
110 [153]"load"[163]8)d$"
120 print" [196][146]rucker oder [211][146]creen
130 [161]ds$:[139]ds$[178]""[167]130
140 dr[178]0:[139]ds$[178]"d"[167]dr[178]1
150 [139]dr[178]1[167][159]4,4:[152]4," t";
160 [153]"load"[163]8)d$"
170 print" [201]nput [201]llegal [212]rack , [211]ector
180 [133]" (NULL),(NULL)";y,z
190 [153]" atnbbrechen mit '(NULL)'
200 open1,8,15,"i":open2,8,2,"#"
210 ift<36thenfors=0to16
220 ift<31thenfors=0to17
230 ift<25thenfors=0to18
240 ift<18thenfors=0to20
250 print#1,"u1 2 0 "t" "s
260 print#1,"b-p 2 0"
270 get#2,a$,b$
280 getq$:ifq$="q"then350
290 ifa$=""thena$=chr$(0)
300 ifb$=""thenb$=chr$(0)
310 a=asc(a$):b=asc(b$)
320 ifa=yandb=zthenprint" gefunden in [212]rack"t",[211]ektor"s
330 ifdr=1then:ifa=yandb=zthenprint#4,tab(10)" [199]efunden in [212]rack"t",[211]ektor"s
340 nexts:ift<35thent=t+1:goto210
345 ifdr=1thenprint#4:close4
350 close2:close1